package cn.brilliantfuture.commentry.order;

import java.util.List;

import javax.ejb.Local;

import net.sf.json.JSONArray;

import cn.brilliantfuture.commentry.entity.OrderInformation;
import cn.brilliantfuture.commentry.entity.OrderProductInfo;

/**
 * 
 * Title: Communication Entry
 * 
 * Author:  LiTian  
 *
 * Date: 2012-3-29
 * 
 * Description:
 * 
 */
@Local
public interface OrderMessageLocal {

	public boolean saveOrderInfo(OrderInformation orderInformation, List<OrderProductInfo> orderProductInfos);
	
	public boolean isExistForOrder(String orderCode);
	
	public String getRfidCode(String orderCode);
	
	public JSONArray[] getRfidCodes(String orderCode, int generalNum, int keepWarmNum, int thermostatNum);
	
	public Integer queryOrderState(String orderCode);
	
	public boolean modfiyRefundOrderState(String orderCode);
}
